package com.j48.entrancegurad.model;

import java.sql.Timestamp;

/**
 * user_id 用户编号
 * user_name 用户姓名
 * user_host_id 用户所属业主编号
 * user_open_id 微信token
 * user_createtime 创建时间
 * user_lasttime 最后修改时间
 * user_lastpasstime 最后使用时间
 */
public class User {
    private int user_id;//用户编号
    private String user_name;//用户姓名
    private int user_host_id;//用户所属业主的编号
    private String user_open_id;//微信token
    private Timestamp user_createtime;//创建时间
    private Timestamp user_lasttime;//最后修改时间
    private Timestamp user_lastpasstime;//最后使用时间

    public User() {
    }
    public User(String user_name, int user_host_id, String user_open_id, Timestamp user_createtime) {
        this.user_name = user_name;
        this.user_host_id = user_host_id;
        this.user_open_id = user_open_id;
        this.user_createtime = user_createtime;
    }

    public User(String user_name, int user_host_id, String user_open_id, Timestamp user_createtime, Timestamp user_lasttime, Timestamp user_lastpasstime) {
        this.user_name = user_name;
        this.user_host_id = user_host_id;
        this.user_open_id = user_open_id;
        this.user_createtime = user_createtime;
        this.user_lasttime = user_lasttime;
        this.user_lastpasstime = user_lastpasstime;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getUser_host_id() {
        return user_host_id;
    }

    public void setUser_host_id(int user_host_id) {
        this.user_host_id = user_host_id;
    }

    public String getUser_open_id() {
        return user_open_id;
    }

    public void setUser_open_id(String user_open_id) {
        this.user_open_id = user_open_id;
    }

    public Timestamp getUser_createtime() {
        return user_createtime;
    }

    public void setUser_createtime(Timestamp user_createtime) {
        this.user_createtime = user_createtime;
    }

    public Timestamp getUser_lasttime() {
        return user_lasttime;
    }

    public void setUser_lasttime(Timestamp user_lasttime) {
        this.user_lasttime = user_lasttime;
    }

    public Timestamp getUser_lastpasstime() {
        return user_lastpasstime;
    }

    public void setUser_lastpasstime(Timestamp user_lastpasstime) {
        this.user_lastpasstime = user_lastpasstime;
    }
}
